DrawPath(IPath,Color,Single,Single[]) Method
In This Topic
Draws a path using a specified line color, width and dash pattern.
If the dashPattern array contains two or more items, the path is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.
Syntax
'Declaration
Public Overloads Sub DrawPath( _
ByVal As IPath, _
ByVal As System.Drawing.Color, _
ByVal As System.Single, _
ByVal () As System.Single _
)
public void DrawPath(
IPath ,
System.Drawing.Color ,
System.float ,
System.float[]
)
Parameters
- path
- An object implementing the IPath interface that represents the path to draw.
- lineColor
- The color of lines used to draw the path.
- lineWidth
- The width of lines used to draw the path.
- dashPattern
- The dash pattern of lines used to draw the path.
See Also